html {
    background-color: #674ea7;
    width: 100%;
    max-width: 600px;
    height: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: white;
}


/*用于定义变量*/

body {
    --headHight: 10;
    width: 100%;
    height: 100%;
}
.mainPage
{
    width: 100%;
    height: 100%;
}
#mainHeader {
    width: 100%;
    height: 12vmin;
    position: relative;
    vertical-align:middle;
}

/*头部导航栏*/
#headerContainer {
    height: 70%;
    width: 94%;
    position:absolute;
    top:15%;
    left:3%;
}

#roomIntoinput {
    background: url(../img/idx/fdj.png) center left no-repeat;
    background-size:6% auto;
    background-position:3vmin;
    height: 100%;
    width: 80%;
    padding-left: 8vmin;
    float: left;
    border: 1px gray outset;
    border-radius: 10vmin;
    background-color: #FFFFFF;
}

#roomIntoButton {
    color: white;
    height: 100%;
    width: 15%;
    float: right;
    border: 1px gray outset;
    border-radius: 30%;
    background-color: red;
    line-height: 8vmin;
}
/*广告栏*/
#advContainer
{
    width: 100%;
    height: 30vh;
    position: relative;
    /*top:calc(var(--headHight,10) * 1vw);*/
    white-space:nowrap;
    overflow:hidden;
}
.advList
{
    width: 300%;
    height: 100%;
}
.advList>img{
    width: 33.3%;
    height: 100%;
    float: left;
}

/*房间总名称*/
.mainContent
{
    width: 100%;
    position: relative;
}
.contentList{
    width: 100%;
    height: 30vmin;
}

.contentTitle
{
    width:100%;
    height: 5vmin;
    color: #F8F8FF;
    margin-top: 2vmin;
}
.contentTitleText
{
    float: left;
    margin-left: 30px;
}
.roomOnline
{
    float: right;
    margin-right: 10px;
}
.roomOnlineButton
{
    height: 2vmin;
}
/*房间列表*/
.contentRooms
{
    width: 100%;
    margin-top: 2vmin;
}
.roomListOne
{
    width: 30vmin;
    height: auto;
    margin-left: 2.5vmin;
    text-align: center;
    float: left;
    position: relative;
}
.roomId,.roomName,.roomMoney,.roomOnlineSingle{
    position:absolute;
    text-align:center;
    padding:auto;
    display:inline-block;
}
.roomId{
    top:0.1vmin;
    left:6vmin;
    color:gray;
}
.roomName{
    top:7vmin;
    left:6vmin;
}
.roomMoney{
     top:12vmin;
    left:8vmin;
    color:gold
}
.roomOnlineSingle{
    top:17vmin;
    color:#DDD;
    left: 15vmin;
}
.roomImage
{
    width: 100%;
    height: 100%;
}
/*底部导航栏*/

#mainFooter {
    background-color: #FFFFFF;
    color: grey;
    width: 100%;
    max-width: 600px;
    height: 15vmin;
    bottom: 0;
    margin: auto auto;
    position: fixed;
}

.footerNav {
    width: 100%;
}

.footerNav>.navList {
    width: 25%;
    float: left;
}

.navList img {
    width: 45%;
    height: 50%;
}

.navList div {
    height: 30%;
    margin-top: -2px;
}